package com.gzhryc.tenxun.map.msg.resp;

public class GeocoderResponse {

	protected Integer status;
	protected String message;
	protected String request_id;
	protected Result result;
	
	public GeocoderResponse(){
		this.result = new Result();
	}
	
	public Integer getStatus() {
		return status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public String getMessage() {
		return message;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}

	public String getRequest_id() {
		return request_id;
	}

	public void setRequest_id(String request_id) {
		this.request_id = request_id;
	}

	public Result getResult() {
		return result;
	}
	
	public void setResult(Result result) {
		this.result = result;
	}

	public static class Result {
	
		protected Location location;
		protected String address;
		protected AddressComponent address_component;
		
		public Result(){
			this.location = new Location();
			this.address_component = new AddressComponent();
		}
		
		public String getAddress() {
			return address;
		}
		
		public void setAddress(String address) {
			this.address = address;
		}

		public Location getLocation() {
			return location;
		}

		public void setLocation(Location location) {
			this.location = location;
		}

		public AddressComponent getAddress_component() {
			return address_component;
		}

		public void setAddress_component(AddressComponent address_component) {
			this.address_component = address_component;
		}
	}
	
	public static class Location {
	
		protected String lat;
		protected String lng;
		
		public String getLat() {
			return lat;
		}
		
		public void setLat(String lat) {
			this.lat = lat;
		}
		
		public String getLng() {
			return lng;
		}
		
		public void setLng(String lng) {
			this.lng = lng;
		}
	}
	
	public static class AddressComponent {
		
		protected String nation;
		protected String province;
		protected String city;
		protected String district;
		protected String street;
		protected String street_number;
		
		public String getNation() {
			return nation;
		}
		public void setNation(String nation) {
			this.nation = nation;
		}
		public String getProvince() {
			return province;
		}
		public void setProvince(String province) {
			this.province = province;
		}
		public String getCity() {
			return city;
		}
		public void setCity(String city) {
			this.city = city;
		}
		public String getDistrict() {
			return district;
		}
		public void setDistrict(String district) {
			this.district = district;
		}
		public String getStreet() {
			return street;
		}
		public void setStreet(String street) {
			this.street = street;
		}
		public String getStreet_number() {
			return street_number;
		}
		public void setStreet_number(String street_number) {
			this.street_number = street_number;
		}
	}
}
